home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.07 Jul 90 / Commando Programming ƒ / Rezscripts / RezC.BNDL.Cmdo.R < prev    next >
Encoding:
Text File  |  1988-06-30  |  1.6 KB  |  66 lines  |  [TEXT/MPS ]

  1. /* File RezC.BNDL.Cmdo.R */
  2. /* Rez input for the Rezc.BNDL Commando interface */
  3. /* W. Powell 1988 */
  4.  
  5. /* Rez definitions for Rez-building Commando interfaces */
  6. #include "Cmdo.R"
  7.  
  8. Resource 'cmdo' (200) {
  9.     { 248,
  10.     "Rezc.BNDL produces Rez input for a Bundle resource."
  11.     "\nNOTE:  Input will automatically continue with another"
  12.     " Commando dialog.",
  13.     {
  14. /* This include file has a standard arrangement of items
  15.  *   common to all resources: ID#, attributes, name, 
  16.  *      and redirection of output from the Rezc.≈ script        */
  17. #include "CmdoReztStart.R"
  18.  
  19. /* other items particular to this case */    
  20.     /* Item 6 */
  21.     OR {{1}}, RegularEntry {
  22.         "Signature:",
  23.         {87,20,103,95},
  24.         {87,100,103,150},
  25.         "",keepCase,"",
  26.         "The autograph:  4 characters" },
  27.     /* Item 7 */
  28.     OR {{1}}, RegularEntry {
  29.         "Signature ID#:",
  30.         {87,170,103,260},
  31.         {87,265,103,315},
  32.         "",keepCase,"",
  33.         "The signature version ID" },
  34.     /* Item 8 */ 
  35.     OR {{1}}, CheckOption {
  36.         NotSet,
  37.         {87,325,103,465},
  38.         "Build autograph.",
  39.         "-autogr",
  40.         "Automatically create autograph resource as a string" },
  41.     /* Item 9 */
  42.     OR {{8}}, RegularEntry {
  43.         "String:",
  44.         {115,30,131,100},
  45.         {115,105,131,450},
  46.         "",keepCase,"",
  47.         "A string to store in the autograph resource.  "
  48.         "Usually contains version identification and "
  49.         "copyright notices.\nNOTE: Use \\n for new line." },
  50.     /* Item 10 */
  51.     OR {{-8, 9}}, Dummy {},
  52.     /* Item 11 */
  53.     AND {{1,6,7,10}}, DoItButton {},
  54.     },
  55.     
  56. /* Dialog 2 */
  57. /* Include the standard resource attributes dialog */
  58. #include "CmdoReztAttr.R"
  59.  
  60. /* Dialog 3 */
  61. /* Include a redirection dialog */
  62. #include "CmdoReztRdir.R"
  63.  
  64. }
  65. }; 
  66.